package com.e3.basdoc.goods.service;

import java.util.List;

import com.e3.basdoc.goods.model.GoodsModel;
import com.e3.basdoc.goods.model.GoodsQC;
import com.e3.core.base.ServiceException;


public interface GoodsQueryService {
	
	public List<GoodsModel> getGoodsByCondition(GoodsQC qc) throws ServiceException;
	
	public List<GoodsModel> getAllGoodss() throws ServiceException;
	
	public GoodsModel getGoodsById(long id) throws ServiceException;
	
	public List<GoodsModel> getGoodsByIds(List<Long> ids) throws ServiceException;

	public List<GoodsModel> getPagingGoods(GoodsQC qc, int start, int max) throws ServiceException;

	public Long getGoodsSizeByCondition(GoodsQC qc) throws ServiceException;

}
